export const Events = {
  template: `
    <el-card header="Events" ref="container" class="el-card__header-no-border">
      <el-table :data="crudData" style="width: 100%">
        <el-table-column prop="name" label="事件名称" width="140" />
        <el-table-column prop="description" label="描述" />
        <el-table-column prop="type" label="回调参数" width="400" />
      </el-table>
    </el-card>
  `,

  data() {
    return {
      crudData: [
        {
          name: 'search',
          description: '搜索',
          type: '查询参数',
        },
        {
          name: 'change',
          description: '当表格数据增删改',
        },
      ],
    }
  }
}